class Myclass:
    def sum(self, x, y):
        self.x = x
        self.y = y
        return self.x + self.y


obj = Myclass()
s = obj.sum(3, 5)
print('s=', s)
